/*
 * Copyright (C), 2002-2018, Caljm有限公司
 * FileName: UserService
 * Author:   Byron Wang
 * Date:     2018/11/29 上午12:08
 * Description: //模块目的、功能描述
 * History: //修改记录
 * <author>      <time>      <version>    <desc>
 * 修改人姓名             修改时间            版本号                  描述
 */

package com.cpcs.springboot.service;

import com.cpcs.entity.User;
import com.cpcs.springboot.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 功能描述：
 *
 * @author Byron Wang
 * @since 2018/11/29
 */
@Service
public class UserService {
    @Autowired
    private UserMapper userMapper;

    public List<User> getAll() {
        return userMapper.getAll();
    }
}
